package com.isoftstone.industry.aaa.schedule;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;

import com.isoftstone.industry.aaa.core.service.email.IEmailSupportService;

@Component("emailSendJob")
public class EmailSendJob {
	private final Logger		logger	= Logger.getLogger(EmailSendJob.class);

	@Resource
	private IEmailSupportService emailService;
	
	public void work()
	{
		logger.info("邮件定时发送job开始...");
		emailService.timingHandle();
		logger.info("邮件定时发送job结束...");
	}
}
